﻿using System.Windows;
using Microsoft.Practices.Unity;

namespace EzDesk.DesktopClient
{
    public partial class IMClient
    {
        public static IMClient CurrentClient
        {
            get
            {
                return Application.Current as IMClient;
            }
        }


        public Window MainView { get;
            set;
        }

        public UnityContainer Container
        {
            get
            {
                return IMClientUnityContainer.Instance;
            }
        }


        public UserManagement UserManagement
        {
            get;
            set;
        }
        public DataManagement DataManagement
        {
            get;
            set;
        }

        public UpdateDataManagement UpdateDataManagement { get; set; }
        public ServiceConfigurationManagement ServiceConfigurationManagement { get; set; }
        public ClientConfigurationManagement ClientConfigurationManagement { get; set; }
        public AppManagement AppManagement { get; set; }
        public TodoManagement TodoManagement { get; set; }
        
    }
}
